package com.ems.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ems.vo.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 工单流
 * </p>
 *
 * @author WuZH
 * @since 2023-11-04
 */
@Data
@TableName ( "order_flow_info" )
@ApiModel ( value = "OrderFlowEntity对象", description = "工单流" )
public class OrderFlowEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ( "id" )
    @TableId ( value = "id", type = IdType.INPUT )
    private String id;

    @ApiModelProperty ( "工单Id" )
    @TableField ( "orderId" )
    private String orderId;

    @ApiModelProperty ( "用户Id" )
    @TableField ( "userId" )
    private String userId;

    @ApiModelProperty ( "流程级别" )
    @TableField ( "flow" )
    private Integer flow;

    @ApiModelProperty ( "工单流执行备注内容" )
    @TableField ( "info" )
    private String info;

    @ApiModelProperty ( "工单流执行时间" )
    @TableField ( "createTime" )
    private Date createTime;

    @TableField ( "isUsed" )
    private Integer isUsed;


}
